package com.geek.water.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author yangwenqi
 * @decs TODO
 * @date 2025/8/2
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("层级节点")
public class HierarchyNode {
    @ApiModelProperty("节点ID")
    private String id;

    @ApiModelProperty("节点名称")
    private String name;

    @ApiModelProperty("节点类型：customer-客户, site-站点, area-区域")
    private String type;

    @ApiModelProperty("子节点")
    private List<HierarchyNode> children;
}
